﻿import Types from '../actionTypes';

const initState = {};
export default (state = initState, action) => {
  switch (action.type) {
    case Types.GET_DATA_CENTER:
      return {
        ...state,
        ...action.data
      };
    default:
      return state;
  }

}